<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 500px;
            border: 1px red solid;

            text-align: justify;
            font-size: 50px;
        }
        span{
            font-size: 20px;
            border: 1px blue solid;
            /* 垂直对齐方式 
               可选值
                baseline 基线对齐  默认
                top 顶部对齐
                bottom 底部对齐
                middle 居中对齐

             */
            vertical-align: baseline;
        }

        p{
            border: 1px red solid;
        }

        img{
            vertical-align: top;
        }
    </style>
</head>
<body>
    <div>
        lorm djldjdjfifjidf ,djfidjfid,fjdjfidform djldjdjfifjidf ,djfidjfid,fjdjfidform djldjdjfifjidf ,djfidjfid,fjdjfidform djldjdjfifjidf ,djfidjfid,fjdjfidform djldjdjfifjidf ,djfidjfid,fjdjfidf
    </div>

    <div>
        今天天气 <span>真不错</span>！
    </div>

    <p>
        <img src="./img/an.jpg" alt="">
    </p>
</body>
</html>